#perl - Sat 21 Apr 2007 between 09:31 and 09:37



j2daoshs/yeah...thats//;
Jmax-well it's the fourth return value from localtime
eval: (localtime)[3]
buubotJmax-: 21
Jmax-eval: [localtime]
buubotJmax-: [43,27,4,21,3,107,6,110,1]
j2daoshnevermind i got it. i just had to add a "my" to the front
or i suppose i could do it that way too
Jmax-:)
j2daoshi forgot all about getting variables from an array lol
ofer<h1>Software error:</h1><pre>Success at gdtest.pl line 19. ---> what does this mean ?
j2daoshi need to wake up... bad
oferLine 19: my $font = GD::Font->load( './NachlieliCLM-Light.pfa' )
Jmax-ofer, check GD source
or perhaps the documentation covers error messages
oferword Success is not found in source code :(
zamolxesofer: you sure that file is in the script's current directory?
j2daoshglob is the function that will "slurp" everything in a file into an array and i can then use a foreach on that array to match lines... correct?
zamolxesj2daosh: no
j2daosh: <>
oferzamolxes, yes
j2daoshok what function is that then?
Jmax-j2daosh: File::Slurp
j2daosh: no core function does that
j2daoshoh
zamolxesj2daosh: <>
Jmax-you could use push @arr, $_ while <>
stoatdoes anybody has experience with Net::SMTP::SSL ?
ofersub slurp { local @ARGV = @_; local $/; return <> }
there you go
Daveman<FILE>
j2daoshwell that sucks... cuz this aint my system so i cant install stuff on it
zamolxeswhat the fuck?
oferj2daosh, perldoc perlmodinstall
zamolxesmy @lines = <FILE>
Jmax-zamolxes: that won't work
that will only occur once
f00li5hofer: you need to local *ARGV
zamolxesJmax-: in array context?
Jmax-zamolxes: yes

Page: 4 11 18 25 32 39 46 53 60 67 

IrcArchive