Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Creating Tag Clouds from a Database

by stiller (Friar)
on Apr 24, 2008 at 10:22 UTC ( #682598=note: print w/ replies, xml ) Need Help??


in reply to Creating Tag Clouds from a Database

If you insert a line

__END__

on the line before the line perl complains about, and then try to move it (the __END__ line) up one line at a time until perl stops complaining, then down one line again, you have found the first offending line.

The line

my @sortkeys = sort {$tags->{count}<=> $tags->{$a}->{$count}} keys %{$ +mytags::tags};
has several problems, but I guess you can see them now?

cheers


Comment on Re: Creating Tag Clouds from a Database
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://682598]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-10-22 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (122 votes), past polls